<MDXHeader
  title="Badge Delta"
  description="A Badge with trend indicator for five different statuses."
/>

<ComponentPreview name="badge-delta-demo" />

## Installation

<Tabs defaultValue="cli">

<TabsList>
  <TabsTrigger value="cli">CLI</TabsTrigger>
  <TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>

<TabsContent value="cli">

```bash
npx solidui-cli@latest add badge-delta
```

</TabsContent>

<TabsContent value="manual">
<Steps>

<Step>Copy and paste the following code into your project: </Step>

<ComponentSource name="badge-delta" />

</Steps>
</TabsContent>

</Tabs>

## Usage

```tsx
import { BadgeDelta } from "~/components/ui/badge-delta"
```

```tsx
<BadgeDelta deltaType="increase">+ 420.69%</BadgeDelta>
```
